﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using GTR.News.AdminModel;
using GTR.News.AdminDAL;

namespace GTR.News.AdminBLL
{
    public class NewsTypeBLL
    {
        NewsTypeDAL dal = new NewsTypeDAL();
        /// <summary>
        /// 新闻类别显示
        /// </summary>
        /// <returns></returns>
        public DataTable newtypeSHOW()
        {
            return dal.newtypeSHOW();
        }
        /// <summary>
        /// 新闻类别添加
        /// </summary>
        /// <param name="n"></param>
        /// <returns></returns>
        public int newtypeADD(GTR.News.AdminModel.NewsType n)
        {
            return dal.newtypeADD(n);

        }
        /// <summary>
        /// 新闻类别删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public int newtypeDEL(int id)
        {
            return dal.newtypeDEL(id);
        }





    }
}
